package com.tem.system.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 一个分店 只能有一种系统
 * </p>
 *
 * @author 腾木
 * @since 2023-11-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("system_level_branch")
@ApiModel(value="SystemLevelBranch对象", description="一个分店 只能有一种系统")
public class SystemLevelBranch implements Serializable {

    private static final long serialVersionUID=87834546687891L;

    @ApiModelProperty(value = "企业系统")
    @TableId(value = "system_level_branch_id", type = IdType.AUTO)
    private Long systemLevelBranchId;

    @ApiModelProperty(value = "企业")
    @TableField("sys_branch_office_id")
    private Long sysBranchOfficeId;

    @ApiModelProperty(value = "系统ID")
    @TableField("system_level_id")
    private Long systemLevelId;

    @ApiModelProperty(value = "系统等级ID")
    @TableField("system_level_type_id")
    private Long systemLevelTypeId;

    @ApiModelProperty(value = "系统名称")
    @TableField("type_name")
    private String typeName;

    @ApiModelProperty(value = "编码")
    @TableField("sys_code")
    private String sysCode;

    @ApiModelProperty(value = "说明")
    @TableField("msg")
    private String msg;

    @ApiModelProperty(value = "单价")
    @TableField("price")
    private BigDecimal price;

    @ApiModelProperty(value = "1终身价 2年费")
    @TableField("price_unit")
    private Integer priceUnit;

    @ApiModelProperty(value = "版本")
    @TableField("the_version")
    private String theVersion;

    @ApiModelProperty(value = "0 1")
    @TableField("state")
    private Integer state;

    @ApiModelProperty(value = "缴费日期")
    @TableField("jf_date")
    private LocalDate jfDate;

    @ApiModelProperty(value = "最近缴费日期")
    @TableField("jf_last_time")
    private LocalDateTime jfLastTime;


}
